<?php

namespace app\adminapi\controller\merchant;

use app\adminapi\controller\BaseAdminController;
use app\adminapi\http\middleware\MerchantMiddleware;
use app\adminapi\lists\CardLists;
use app\adminapi\lists\CommissionLogLists;
use app\common\model\CommissionLog;
use app\Request;

class CommissionController extends BaseAdminController
{
    protected $middleware = [
        MerchantMiddleware::class,
    ];


    public function loglists(Request $request){

        return $this->dataLists(new CommissionLogLists(['merchant_id'=>$request->merhchant_id]));
    }





}